import request from "@/utils/request";

// 详情
export function getConfListByconfKey() {
    return request({
      url: '/base/conf/getConfListByconfKey',
      method: 'get',
    })
}

// 保存
export function update(data) {
    return request({
        url: '/base/conf/update',
        method: 'put',
        data: data
    })
}
// 是否显示验证码
export function getVerifyCaptcha() {
    return request({
      url: '/system/captcha/verifyCaptcha',
      method: 'get',
    })
}

// 测试邮箱接口
export function testEmail(data) {
  return request({
    url: '/notify/message-template/testEmail',
    method: 'post',
    data: data
  })
}